Base functions for file related operations. More...
Functions | |
kzString | kzsFileBaseGetResourceDirectory (void) |
Returns the active working directory. | |
void | kzsFileBaseSetResourceDirectory (kzString path) |
Sets the active working directory to the given one. | |
Base functions for file related operations.
Copyright 2008-2017 by Rightware. All rights reserved.
void kzsFileBaseSetResourceDirectory | ( | kzString | path | ) |
Sets the active working directory to the given one.
All relative file and resource paths will be relative to the given path after this call, unless path is null. Note that caller is responsible for keeping the path string alive as long as the application is running and accessing resource files.
kzString kzsFileBaseGetResourceDirectory | ( | void | ) |
Returns the active working directory.